package nameless.aistudy.domain.model.statistics;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 统计表
 */
@Data
@TableName("stat")
public class Statistics {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 日期
     */
    private LocalDate date;

    /**
     * 类型ID
     */
    private Long typeId;

    /**
     * 日统计值
     */
    private BigDecimal daily;

    /**
     * 总计值
     */
    private BigDecimal overall;

    private Boolean isDeleted;
}